import { getReq, postReq } from '@U/common'

// 顾客详情
export const getCustomerInfo = (params = {}) => getReq('/api/channel-agent/aesthetic-medicine/customer/info', params)

// 获取跟进方式列表
export const getFollowWayList = () => getReq('/api/channel-agent/follow-up/way-dropdown')

// 获取跟进方式对应的服务类型列表
export const getServiceTypeList = (params = {}) => getReq('/api/channel-agent/follow-up/way-detail-dropdown', params)

// 添加跟进记录
export const addFollowRecords = (params = {}) => postReq('/api/channel-agent/follow-up/create', params, 'application/json;charset=UTF-8')

// 获取顾客跟进记录步骤条列表
export const getFollowRecordsStepList = (params = {}) => getReq('/api/channel-agent/follow-up/customer-list', params)

// 跟进记录详情
export const getFollowRecordsDetails = (params = {}) => getReq('/api/channel-agent/follow-up/info', params)

// 修改跟进记录
export const updateFollowRecords = (params = {}) => postReq('/api/channel-agent/follow-up/modify', params, 'application/json;charset=UTF-8')
